.flex-column {
  display: flex;
  flex-direction: column;
}
.flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.keyboard {
  .province-wrap{
    .province-keyboard {
      align-items: center;
    }
    .key-item {
      width: 84rpx;
      height: 88rpx;
      line-height: 87rpx;
      margin-right: 6rpx;
      margin-bottom: 6rpx;
      text-align: center;
      background: #fff;
      color: #333333;
      font-size: 36rpx;
      border-radius: 8rpx;
      &.icon {
        background: #f2f2f2 url(../img/teturn.png) no-repeat center center;
        background-size: 64rpx 64rpx;
      }
      &:last-child {
        margin-right: 0rpx;
      }
      &:active {
        opacity: .6;
      }
    }
  }
  .words-wrap {
    .item {  
      margin-right: 8rpx;
      margin-bottom: 8rpx;
      text-align: center;
      background: #ffffff;
      color: #333333;
      font-size: 36rpx;
      border-radius: 8rpx;
      &.number {
        width: 64rpx;
        height: 88rpx;
        line-height: 87rpx;
      }
      &.line-one-words {
        width: 72rpx;
        height: 88rpx;
        line-height: 87rpx;
      }
      &.line-two-words, &.line-three-words {
        width: 68rpx;
        height: 88rpx;
        line-height: 87rpx;
        margin-right: 9px;
      }
      &.other {
        width: 84rpx;
        height: 88rpx;
        line-height: 87rpx;
        margin-right: 8px;
        background: #f2f2f2;
      }
      &.icon {
        width: 157rpx;
        height: 88rpx;
        line-height: 87rpx;
        margin-right: 8px;
        background: #f2f2f2 url(../img/teturn.png) no-repeat center center;
        background-size: contain;
      }

      &:active {
        background-color: #DDDDDD;
      }
    }
  }
}
